<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
   


    <input type="hidden" class="form-control" id="id" name="row[id]"  readonly="true" value="{$row.id}" data-rule="required" />
 
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Parent')}:</label>
        <div class="col-xs-12 col-sm-8">
              <input type="text" class="form-control" id="platenum" name="row[platenum]"  readonly="true" value="{$row.platenum}" data-rule="required" />
        </div>
    </div> 
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">发送类型:</label>
        <div class="col-xs-12 col-sm-8">
              <input type="text" class="form-control" id="sendtype" name="row[sendtype]"  readonly="true"  value="Phone" data-rule="required" />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">发送内容:</label>
        <div class="col-xs-12 col-sm-8">
             <textarea class="form-control" id="sendMsg" name="row[sendMsg]">
贵公司车辆{$row.platenum}在{$row.address}产生{$row.alarminfo}的报警信息，请注意！ 
             </textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">手机号码:</label>
        <div class="col-xs-12 col-sm-8">
              <input type="text" class="form-control" id="targetAddress" name="row[targetAddress]"   data-rule="required" value="{$tel}" />
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">执行发送</button>
            <button type="reset" class="btn btn-default btn-embossed" onclick="Layer.closeAll();">{:__('Close')}</button>
        </div>
    </div>
</form>
